package top.ljlgithub.service.impl;

import top.ljlgithub.dao.UserDao;
import top.ljlgithub.domain.User;
import top.ljlgithub.service.UserService;

import java.util.List;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/3/20 11:44
 * @Version 1.0
 **/
public class UserServiceImpl implements UserService {
    private UserDao userDao;
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public List<User> findAll() {
        return userDao.findAll();
    }
}
